package dpss.commons;

import java.io.Serializable;

/**
 * The server response class
 * 
 * @author musab.mirza
 *
 */
public class ServerResponse implements Serializable{
	

	private static final long serialVersionUID = 1L;
	
	private  boolean success = false;
	private  String message = "";
	private  Object data = null;
	
	public ServerResponse(boolean success, String message, Object data){
		this.success = success;
		this.message = message;
		this.data = data;
	}

	public boolean isSuccess() {
		return this.success;
	}

	public String getMessage() {
		return this.message;
	}

	public Object getData() {
		return data;
	}
	
	

}
